package com.sweetline.exam.vo;

public class Question<T> implements Cloneable,Comparable<T>{

	private String quId;
	private String reposId;
	private String type;
	private String quSta;
	private String createTime;
	private String createNo;
	private String sts;
	private String quDesc;
	private String chooseResult;
	private String rightResult;
	private String rightFlag;
	
	
	public String getRightFlag() {
		return rightFlag;
	}
	public void setRightFlag(String rightFlag) {
		this.rightFlag = rightFlag;
	}
	public String getChooseResult() {
		return chooseResult;
	}
	public void setChooseResult(String chooseResult) {
		this.chooseResult = chooseResult;
	}
	public String getRightResult() {
		return rightResult;
	}
	public void setRightResult(String rightResult) {
		this.rightResult = rightResult;
	}
	public String getQuId() {
		return quId;
	}
	public void setQuId(String quId) {
		this.quId = quId;
	}
	public String getReposId() {
		return reposId;
	}
	public void setReposId(String reposId) {
		this.reposId = reposId;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getQuSta() {
		return quSta;
	}
	public void setQuSta(String quSta) {
		this.quSta = quSta;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getCreateNo() {
		return createNo;
	}
	public void setCreateNo(String createNo) {
		this.createNo = createNo;
	}
	public String getSts() {
		return sts;
	}
	public void setSts(String sts) {
		this.sts = sts;
	}
	public String getQuDesc() {
		return quDesc;
	}
	public void setQuDesc(String quDesc) {
		this.quDesc = quDesc;
	}
	@Override
	public Object clone() {
		
		Question copy = new Question();
		
		copy.setQuId(new String(this.quId));
	
		copy.setType(new String(this.type));
		copy.setQuSta(new String(this.quSta));
		
		if(reposId != null){
			copy.setReposId(new String(reposId));
		}
		if(this.createNo != null){
			copy.setCreateNo(new String(this.createNo));
		}
		if(this.sts != null){
			copy.setSts(new String(this.sts));
		}
		
		return copy;
	}
	
	public int compareTo(T o) {
		Question qu = (Question)this;
		return qu.compareTo(o);
	}
	
	
	
}
